﻿using System;
using System.Collections.Generic;



/// <summary>
/// Descripción breve de WhereFilter
/// </summary>
public class WhereFilter
{
    public enum WhereOperation { Like, Equal, LessThan, MoreThan,MoreEqualThan,LessEqualThan, Between };
    public enum SQLValueType { Integer, String };
    private string _columnName;
    public string ColumnName
    {
        get { return _columnName; }
        set { _columnName = value; }
    }
    private object _sourceData;

    public object SourceData
    {
        get { return _sourceData; }
        set { _sourceData = value; }
    }
    private string _columnValue;

    public string ColumnValue
    {
        get { return _columnValue; }
        set { _columnValue = value; }
    }
    private WhereOperation _sqloperator;

    public WhereOperation SqlOperator
    {
        get { return _sqloperator; }
        set { _sqloperator = value; }
    }

    private SQLValueType _SqlType;

    public SQLValueType SqlType
    {
        get { return _SqlType; }
        set { _SqlType = value; }
    }


    public WhereFilter(string columnName, object sourceData, string columnValue, WhereOperation SqlOperator, SQLValueType sqlType)
    {

       

        _columnName = columnName;
        _sourceData = sourceData;
        _columnValue = columnValue;
        _sqloperator = SqlOperator;
        _SqlType = sqlType;

    }

   


}
